Let's set up what will happen when the player makes a basket.
- Go to and drag Collision with Other Sprite to the bottom of your program.
- Find the line that defines (def) the event and the event handler. In both lines, change the word sprite to ball.
- Find the if statement inside the event. Change the image name to "basketballnet".
- Find the .say() command inside the if statement. Change the string to "Score!"
To navigate the page using the TAB key, first press ESC to exit the code editor.